#ifndef MYTIMER_H
#define MYTIMER_H

#include <QObject>
#include <qqml.h>
#include <QTimer>

class MyTimer : public QTimer
{
    Q_OBJECT
    QML_ELEMENT
public:
    explicit MyTimer(QObject *parent = nullptr);

public slots:
    int m_remainingTime();
    void m_setInterval(int i);

signals:

private:

};

#endif // MYTIMER_H
